package cn.hpu.service;

import java.util.List;
import java.util.Map;

import cn.hpu.po.CustomerInfo;

public interface CustomerInfoService {

	void save(CustomerInfo customerInfo);

	CustomerInfo loadCustomerInfoByName(String name);

	List<CustomerInfo> loadCustomerInfoes();

	List<CustomerInfo> loadCustomerInfoes(Integer beginIndex, Integer pageSize);

	Integer loadRecordCount();

	CustomerInfo loadCustomerInfoById(Integer id);

	void update(CustomerInfo customerInfo);

	void delCustomerInfo(CustomerInfo info);

	List<CustomerInfo> loadCustomerInfoByProperties(Map<String ,Object> queryConditions);

	List<CustomerInfo> loadCustomerInfoByProperties(
			Map<String, Object> queryConditions, Integer beginIndex,
			Integer pageSize);

	List<CustomerInfo> loadCustomerSignalInfoes(Integer beginIndex,
			Integer pageSize);

}
